<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8">
        <title>jQuery UI Tabs - Default functionality</title>
        <link rel="stylesheet" href="themes/ui-lightness/jquery.ui.all.css">
        <link type="text/css" href="apycommenus/menu.css" rel="stylesheet" />
        <link rel="stylesheet" href="bannerrotator/bannerrotator.css">
        <link rel="stylesheet" href="jquerydatatable/jquery.dataTables.css">
        <style type="text/css" title="currentStyle">
            @import "tablemedia/css/demo_page.css";
            @import "tablemedia/css/demo_table_jui.css";
            @import "../examples_support/themes/smoothness/jquery-ui-1.8.4.custom.css";
        </style>
        <link rel="stylesheet" href="mycss/common.css">
        <link rel="stylesheet" href="mycss/contact.css">

        <script src="jquery-1.7.1.js"></script>
        <script src="ui/jquery.ui.core.js"></script>
        <script src="ui/jquery.ui.widget.js"></script>
        <script src="ui/jquery.ui.tabs.js"></script>
        <script src="ui/jquery.ui.mouse.js"></script>
        <script src="ui/jquery.ui.sortable.js"></script>
        <script src="ui/jquery.ui.button.js"></script>
        <script src="ui/jquery.ui.dialog.js"></script>
        <script src="ui/jquery.ui.widget.js"></script>
        <script src="ui/jquery.ui.mouse.js"></script>
        <script src="ui/jquery.ui.button.js"></script>
        <script src="ui/jquery.ui.draggable.js"></script>
        <script src="ui/jquery.ui.position.js"></script>
        <script src="ui/jquery.ui.resizable.js"></script>
        <script src="ui/jquery.ui.dialog.js"></script>
        <script src="ui/jquery.effects.core.js"></script>


        <script type="text/javascript" src="apycommenus/menu.js"></script>
        <script type="text/javascript" src="bannerrotator/bannerrotator.js"></script>

        <script type="text/javascript" language="javascript" src="tablemedia/js/jquery.dataTables.js"></script>
        <script type="text/javascript" charset="utf-8">
            $(document).ready(function() {
                $('#example').dataTable( {
                    "sScrollY": 200,
                    "bJQueryUI": true,
                    "sPaginationType": "full_numbers"
                } );
            } );
        </script>
        <script>
            $(function() {
                $( "#sortable" ).sortable({
                    placeholder: "ui-state-highlight"
                });
                $( "#sortable" ).disableSelection();
            });
        </script>

        <script>
            $(function() {
                $( "#tabs" ).tabs();
            });
        </script>
        <script>
            $(document).ready(function(){
                $("body div:last").remove();
            });
        </script>
        <script>
            $(function() {
                $( "button", "#rightcontrols" ).button();
                $( "button", "#rightcontrols" ).click(function() { return false; });
            });
        </script>
        <script>
            $("#btnCreate").button().click(function() {
                $("#dialog").dialog();
            });
        </script>

        <script>
            $("#btnCreate").button().click(function() {
                $("#dialog").dialog();
            });
        </script>
        <script>
            function redirect(){
                window.location = "SearchContact.html";
            }
        </script>
    </head>
    <body>
        <div id="container">
            <div id="header">
                <div class="rotator">
                    <ul>
                        <li class="show"><a href="#link1"><img src="bannerrotator/images/image-2.jpg" width="1012" height="200"  alt="pic1" /></a></li>
                        <li><a href="#link3"><img src="bannerrotator/images/image-3.jpg" width="1012" height="200"  alt="pic3" /></a></li>
                        <li><a href="#link4"><img src="bannerrotator/images/image-4.jpg" width="1012" height="200"  alt="pic4" /></a></li>
                        <li><a href="#link4"><img src="bannerrotator/images/image-5.jpg" width="1012" height="200"  alt="pic4" /></a></li>
                        <li><a href="#link4"><img src="bannerrotator/images/image-6.jpg" width="1012" height="200"  alt="pic4" /></a></li>
                    </ul>
                </div>
            </div>
            <div id="menu">
                <ul class="menu">
                    <li><a href="#" class="parent"><span>Organisations</span></a></li>
                    <li>
                        <a href="#" class="parent"><span>Services</span></a>
                        <ul>
                            <li><a href="#"><span>Service Maintainance</span></a></li>
                            <li><a href="programList.html"><span>Program Maintainance</span></a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="#" class="parent"><span>Geography</span></a>
                        <ul>
                            <li><a href="goverment_office_region_list.html"><span>Goverment Office Region</span></a></li>
                        </ul>
                    </li>
                    <li><a href="#" class="parent"><span>Premises</span></a></li>
                </ul>
                <div id="welcomepanel">
                    <a href="#">Welcome: project manager | </a><a href="login.html">Log out</a>
                </div>
            </div>
            <div id="content">
                <div id="maincontent">
                    <div id="maincontentheader">
                        List Contact
                    </div>
                    <div id="tabs">
                        <div class="ui-tabs-panel">
                            <div id="tablecontrols">
                                <div id="searchFields">
                                    <span>First name:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
                                    <span>Surname:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input type="text"/></span>
                                </div>
                                <span id="rightcontrols">
                                    <button>Search Contact</button>
                                    <button>None</button>
                                    <button>Clear</button>
                                    <button id="btnCreate" onclick="redirect()">Create</button>
                                </span>
                            </div>
                            <div id="topButton">
                                <input type="checkbox" value=""/><span>Include in-active contact?</span>
                            </div>
                            <div>
                                <table cellpadding="0" cellspacing="0" border="0" class="display" id="example">
                                    <thead>
                                        <tr>
                                            <th></th>
                                            <th><b>Contact Name</b></th>
                                            <th><b>Mobile Phone</b></th>
                                            <th><b>Email</b></th>
                                            <th><b>Contact Type</b></th>
                                            <th width="12%"><b>Is active?</b></th>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <tr>
                                            <td><input type="radio" name="chk"/></td>
                                            <td>abc</td>
                                            <td>09123456789</td>
                                            <td>abc@gmail.com</td>
                                            <td class="center">Operational</td>
                                            <td class="center">Yes</td>
                                        </tr>
                                        <tr>
                                            <td><input type="radio" name="chk"/></td>
                                            <td>abc</td>
                                            <td>09123456789</td>
                                            <td>xzy@yahoo.com</td>
                                            <td class="center">Fire Marshall</td>
                                            <td class="center">No</td>
                                        </tr>
                                    </tbody>
                                    <tfoot>
                                        <tr>
                                            <th>
                                                <span id="rightcontrols" class="bottomButton">
                                                    <button>Select</button>
                                                    <button id="btnEdit">Edit</button>
                                                    <button>Close</button>
                                                </span>
                                            </th>
                                        </tr>
                                    </tfoot>
                                </table>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div id="footer">
                <div style="width: 80%; margin:25px auto; text-align: center;
                     font-weight: bold; color: #F6AE38;">
                    Fresher 10 - mock project - bad team designed
                </div>
            </div
        </div>
    </body>
</html>

